Ensure that you are using the original default.ide for the mod to work.

First, import new gun@handgun.wad to pc\anim.img with SparkIV or OpenIV.

Second, with SparkIV, export your WEAPONS.ivaud from resident.rpf (find it in
pc\audio\Sfx). Open the WEAPONS.ivaud with GTA IV-aud and import all sound files
to here (match the names):

PISTOL_SHOT1_L
PISTOL_SHOT1_R
PISTOL_SHOT2

Save once done and import back to resident.rpf, Save and close.

Now install the new WeaponInfo to Pistol line below:

	<weapon type="PISTOL">
		<data slot="HANDGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="PISTOL_SMALL" targetrange="50.0" weaponrange="225" clipsize="8" ammomax="128" timebetweenshots="333">
			<damage base="20" networkplayermod="4.0" networkpedmod="1.0"/>
			<physics force="26.5"/>
			<reload time="2000" fasttime="2000" crouchtime="2000"/>

			<aiming accuracy="0.3995">
				<offset x="0.15" y="1.0" z="0.55"/>
				<crouchedoffset x="0.2" y="1.0" z="0.05"/>
				<reticule standing="0.7" ducked="0.6" scale="0.4"/>
			</aiming>

			<pickup regentime="240000" ammoonstreet="15"/>

			<controller>
				<rumble duration="150" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
			</flags>
		</data>

		<assets model="w_glock">
			<anim group="gun@handgun" meleegroup1="firearm_core">

			<effects>
				<muzzle fx="muz_pistol_small"/>
				<shell fx="weap_ejected_pistol"/>
			</effects>
		</assets>
	</weapon>